package com.ruoyi.app.domain.vo

import io.swagger.annotations.ApiModel
import io.swagger.annotations.ApiModelProperty

@ApiModel("模板详情参数")
data class TemplateDetailVo(

    @ApiModelProperty("模板id")
    var id: Long? = null,

    @ApiModelProperty("模板标题")
    var title: String? = null,

    @ApiModelProperty("封面")
    var cover: String? = null,

    @ApiModelProperty("模板内容")
    var content: String? = null,

    @ApiModelProperty("用户头像")
    var headUrl: String? = "https://shuiyin-program.oss-cn-hangzhou.aliyuncs.com//userfiles/20221202145036.png",

    @ApiModelProperty("用户名称")
    var username: String? = null,

    @ApiModelProperty("图片 阿里云模板id  图片换脸的时候需要传递")
    var picTemplateId: String? = null,

    @ApiModelProperty("点赞")
    var likeNum: Long? = 0,

    @ApiModelProperty("收藏")
    var collectNum: Long? = 0,

    @ApiModelProperty("当前用户是否点赞")
    var isLike: Boolean? = false,

    @ApiModelProperty("当前用户是否收藏")
    var isCollect: Boolean? = false,

    @ApiModelProperty("评论数量")
    var commentNum: Long? = null,
)
